home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950528-19950726
/
000267_news@columbia.edu_Mon Jul 3 19:56:09 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA00175
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 3 Jul 1995 15:56:15 -0400
Received: by apakabar.cc.columbia.edu id AA02127
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 3 Jul 1995 15:56:13 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: PC Dos kermit - how can i log my calls?
Date: 3 Jul 1995 19:56:09 GMT
Organization: Columbia University
Lines: 36
Message-Id: <3t9i0p$22a@apakabar.cc.columbia.edu>
References: <804795967.28297@imp.demon.co.uk>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <804795967.28297@imp.demon.co.uk>,
Duncan Frazer <drf@spruce.demon.co.uk> wrote:
: Hi. Sorry if this a silly question, or if this is the wrong place to
: have posted this ..! I use 3.14 of kermit for dos as a simple comms
: package. Id like to be able to log all of my calls that i make using
: it. All i really need is a log showing each call with a date, start
: time, and duration (or all the information regarding hangups). If you
: can directly help me, or point me in the direction of document(s)
: which can explain how to do this (useful if you could include site/url
: names, path names, and file names), id me most grateful.
:
MS-DOS Kermit doesn't do this on its own, and I don't know of anybody
who has set it up to do this.
Here is how I would do it, assuming I wanted one big log file.
Modify the DIAL macro to "open append" your log file. If the file did not
exist, this would create it. At the place where the DIAL macro decides
that dialing was successful, write a record (using WRITE FILE) stating the
phone number, date, and time and any other desired information. This can
formatted nicely using the built-in string functions (like \frpad(),
flpad(), etc) in version 3.14.
In the event that you hang up the call a long time before you exit from
Kermit, you should also define another macro, which you would have to
run explicitly, to record the time of hangup in the log file, and then
close the log file. For example:
define myhangup -
hangup, -
write file Hangup at \v(time) \vdate()\13\10, -
close write
See "Using MS-DOS Kermit" for details about writing macros.
- Frank